package com.integralPerformance.service;

import com.integralPerformance.common.Result;
import com.integralPerformance.pojo.entity.ApplicationRecodes;
import com.baomidou.mybatisplus.extension.service.IService;
import com.integralPerformance.pojo.form.add.AddApplicationRecode;
import com.integralPerformance.pojo.form.update.UpdateApplicationRecode;
import com.integralPerformance.pojo.query.ApplicationRecodeQuery;
import com.integralPerformance.pojo.query.ApplicationRecodeTeacherQuery;
import com.integralPerformance.pojo.vo.ApplicationRecodesVo;
import com.integralPerformance.pojo.vo.BaseVo;

import java.util.List;

/**
* @author admin
* @description 针对表【application_recodes(岗位申请管理表)】的数据库操作Service
* @createDate 2024-04-03 21:42:22
*/
public interface ApplicationRecodesService extends IService<ApplicationRecodes> {

    Result<BaseVo<ApplicationRecodesVo>> getList(ApplicationRecodeQuery applicationRecodeQuery);

    Result<String> addOne(AddApplicationRecode addApplicationRecode);

    Result<String> updateOne(UpdateApplicationRecode updateApplicationRecode);

    Result<BaseVo<ApplicationRecodesVo>> getByTeacherId(ApplicationRecodeTeacherQuery applicationRecodeTeacherQuery, String teacherId);

    Result<String> deleteById(String id, String teacherId);

    Result<String> agreeByIds(List<Integer> list);

    Result<String> disagreeByIds(List<Integer> list);

    Result<?> countStatus();
}
